# _*_coding:utf-8_*_


class Hotel:
    # 中文名
    __zName = ''
    # 英文名
    __eName = ''
    # 地址
    __address = ''
    # 评论数
    __plNum = 0
    # 排名
    __rank = 1
    # 电话
    __phone = ''

    def getZName(self):
        return self.__zName

    def setZName(self, newName):
        self.__zName = newName

    def getEName(self):
        return self.__eName

    def setEName(self, newName):
        self.__eName = newName

    def getAddress(self):
        return self.__address

    def setAddress(self, newAddress):
        self.__address = newAddress

    def getPlNum(self):
        return self.__plNum

    def setPlNum(self, pl):
        self.__plNum = pl

    def getrank(self):
        return self.__rank

    def setrank(self, newrank):
        self.__rank = newrank

    def getphone(self):
        return self.__phone

    def setphone(self, newphone):
        self.__phone = newphone

    # def getZName(self):
    #     return self.__zName
    #
    # def setZName(self,newName):
    #     self.__zName = newName
    #
    # def getZName(self):
    #     return self.__zName
    #
    # def setZName(self,newName):
    #     self.__zName = newName

    def tostring(self):
        return self.__zName + "," \
               + self.__eName + "," \
               + self.__address + "," \
               + str(self.__plNum) \
               + "," + str(self.__rank) \
               + "," + self.__phone
